package com.jmb.apiplatform.service;

import com.jmb.apiplatform.common.PageResult;
import com.jmb.apiplatform.exception.ValidException;
import com.jmb.apiplatform.pojo.ApiCaseSuiteProcessor;
import com.jmb.apiplatform.pojo.ApiCaseSuiteProcessorTO;
import com.jmb.apiplatform.pojo.ApiCaseSuiteProcessorVO;

import java.util.List;

public interface ApiCaseSuiteProcessorService {
    ApiCaseSuiteProcessor saveProcessor(ApiCaseSuiteProcessor apiCaseSuiteProcessor) throws ValidException;
    void editSuitProcessor(ApiCaseSuiteProcessor apiCaseSuiteProcessor) throws ValidException;
    List<ApiCaseSuiteProcessorVO>findAllApiCaseSuiteProcessorList(ApiCaseSuiteProcessorTO caseSuiteProcessorTO) throws ValidException;
    PageResult<ApiCaseSuiteProcessorVO> findApiCaseSuiteProcessorList(ApiCaseSuiteProcessorTO caseSuiteProcessorTO) throws ValidException;
    ApiCaseSuiteProcessorVO findApiCaseSuiteProcessorById(Integer id);

    List<ApiCaseSuiteProcessorVO> findApiCaseSuiteProcessorBySuiteId(Integer suiteId);

    void removeApiCaseSuiteProcessorById(Integer id);

    void removeApiCaseSuiteProcessorBySuiteId(Integer suiteId);
}
